{% if sign_list %}
    <h4>签到历史:</h4>
    <table border="1">
    <tr>
        <th>序号</th>
        <th>签到时间</th>
    </tr>
    {% for sign in sign_list %}
    <tr>
        <td>{{ forloop.revcounter }}</td>
        <td>{{ sign.sign_time }}</td>
    </tr>
    {% endfor %}
    </table>
{% else %}
    <p>No sign history.</p>
{% endif %}